Evaluation of Automatically-Generated Compilers
نویسنده
چکیده
Compilers or language translators can be generated using a variety of formal specification techniques. Whether generation is worthwhile depends on the effort required to specify the translation task and the quality of the generated compiler. This paper reports the results from a systematic comparison of a hand-coded translator for the Icon programming language with one generated by the Eli compiler construction system. A direct comparison can be made since the generated program performs the same translation as the hand-coded program. The results of the comparison show that efficient compilers can be generated from specifications that are much smaller and more problem-oriented than the equivalent source code. We also show that further work must be done to reduce the dynamic memory usage of generated compilers.
منابع مشابه
Performance Evaluation of Automatically Generated Data Parallel Programs
In this paper the problem of evaluating the perfor mance of parallel programs generated by data parallel compilers is studied These compilers take as input an application written in a sequential language aug mented with data distribution directives and produce a parallel version based on the speci ed partitioning of
متن کاملDirective-Based Compilers for GPUs
General Purpose Graphics Computing Units can be effectively used for enhancing the performance of many contemporary scientific applications. However, programming GPUs using machine-specific notations like CUDA or OpenCL can be complex and time consuming. In addition, the resulting programs are typically fine-tuned for a particular target device. A promising alternative is to program in a conven...
متن کاملAutomatic Generation of Provably Correct Parallelizing Compilers
We show how parallelizing compilers can be automatically derived from denotational deenitions of programming languages. In our approach, the denotational deenition is expressed using deenite clause grammars (syntax speciication) and Horn Logic or Constraint Logic (semantic speciication). The conditions for executing two or more statements in parallel (e.g., GCD test, Banerjee test, or exact tes...
متن کاملPerformance Evualuation of Automatically Generated Data-Parallel Programs
In this paper the problem of evaluating the perfor mance of parallel programs generated by data parallel compilers is studied These compilers take as input an application written in a sequential language aug mented with data distribution directives and produce a parallel version based on the speci ed partitioning of
متن کاملOASIS: An Optimizing Action-Based Compiler Generator
Action Semantics is a new and interesting foundation for semantics based compiler generation. In this paper we present several analyses of actions, and apply them in a compiler generator capable of generating efficient, optimizing compilers for procedural and functional languages with higher order recursive functions.The automatically generated compilers produce code that is comparable with cod...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994